﻿<%@ Page Title="" Language="C#" MasterPageFile="~/template/Justin/Master/Site.Master"
    AutoEventWireup="true" CodeBehind="PartnerDetail.aspx.cs" Inherits="LinkCard.CustomerView.PartnerDetail" %>

<%@ Register TagName="RandomDeals" TagPrefix="uc" Src="~/Controls/Random5Deals.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ctph" runat="server">
    <ul class="sub-menu">
        <li><a href="/Default.aspx">Trang chủ &gt;</a></li>
        <li><a href="/doi-tac/m-2/doi-tac.html">Đối tác &gt;</a></li>
        <li><span class="navigationbar"><%=pnrName %></span></li>
    </ul>

   <%-- <div class="partner-top">
        <uc:RandomDeals ID="boxRandomDeals" runat="server" />
    </div>--%>

    <div class="partner-detail">
        <%--<img width="765" alt='' id="img_banner" runat="server" />--%>
        <div class="partner-body">
            <!--img src="/template/Justin/images/" maxwidth="745" alt="" /-->
                <%=pnrIntroduction %>
        </div>
        
        <div class="partner-right">
            
            <div class="partner-address">
                <h1><%=pnrName %></h1>
                <p><a href="http://<%=pnrWebsite.Replace("http://","")  %>" target="_blank" style="color:Black;text-decoration:none;"><%=pnrWebsite %></a></p>
                <%-- <p>Số sản phẩm trên Linkcard: <%=pnrProductCount %></p>--%>
           
                <p style="color: #0095d0;font-weight: bold;">Địa chỉ</p>
                <% foreach (string addr in pnrListAddress)
                   {%>
                    <p><%=HttpUtility.HtmlDecode(addr)%></p>
                <%}%>
                <%--<p style="margin-top: 5px;"><img src="/template/Justin/images/img-5.jpg"/></p>--%>
               <div class="partner-gmap"> <%=pnrGmap%>
                   </div>
            </div>
        </div>
    </div>
   <%-- <div class="partner-product">
        <h2>Sản phẩm của đối tác</h2>
        <asp:Repeater ID="rptOwnerDeals" runat="server">
            <ItemTemplate>
                <div class="product">
                    <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name")) %>'>                    
                        <img src='<%#GetFirstImageFromAlbum(Eval("Image"))%>' alt="<%#Eval("Name") %>" title="<%#Eval("Name") %>" width="156" height="116" border="0" /></a>
                        
                    <h3> 
                    <a href='<%#LinkCard.Utils.Utilities.GetProductDetailUrl(Eval("DealID"),Eval("Name")) %>' title="<%#Eval("Name") %>"><%#Eval("Name")%></a></h3>
                    <span class="price"><%# LinkCard.CustomerView.Common.Helper.FormatCurrencyVND(Eval("Price"))%></span>
                    
                </div>
            </ItemTemplate>
        </asp:Repeater>

        <asp:Literal ID="ltrPaging" runat="server"></asp:Literal>
       
    </div>--%>
    <%--<script language="javascript" type="text/javascript">
        $(document).ready(function () {
            $('#slider2').anythingSlider({
                width: 729,       // if resizeContent is false, this is the default width if panel size is not defined
                height: 274,       // if resizeContent is false, this is the default height if panel size is not defined
                resizeContents: false,     // If true, solitary images/objects in the panel will expand to fit the viewport
                pauseOnHover: true,
                delay: 3000,
                startStopped: false,
                autoPlay: true     // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
                //navigationFormatter: formatText // Format navigation labels with text
            });
            $('.anythingSlider span.arrow').hide();
            $(".thumbNav li a").html("");
        });        
    </script>--%>
</asp:Content>
